const mapserver_port = "http://121.4.131.58:8000"
let SCENES = [{
        //id标识
        id: 1,
        //场景名字
        name: "西电青岛研究院",
        imageSrc: mapserver_port + '/images/xidian.jpg',
        //相机位置
        position: {
            lon: 120.42899,
            lat: 36.31460,
            height: 1000
        },
        //相机旋转
        orientation: {
            heading: 0,
            pitch: -90,
            roll: 0
        },
        //其他
        //动画
        // animation:{},
        //矢量文件
        vectorFiles: [{
            id: 0,
            name: "图标",
            type: "kml",
            url: mapserver_port + '/kml/xdqd.kml',
            enabled: true
        }, ],
        //模型
        models: [{
                id: '0',
                name: '28号楼',
                type: 'gltf',
                options: {
                    url: mapserver_port + "/models/xd28.glb",
                    position: {
                        lon: 120.4317,
                        lat: 36.3148,
                        height: 0,
                    },
                    orientation: {
                        heading: 0,
                        pitch: 0,
                        roll: 0
                    },
                    scale: 12

                },
                enabled: true
            },

            {
                id: "1",
                name: "天安数码城",
                type: "3dtiles",

                options: {
                    url: mapserver_port + "/models/tianAnSMC/around/tileset.json",
                },
                enabled: true
            },
            {
                id: "2",
                name: "博士后产业园",
                type: "gltf",
                options: {
                    url: mapserver_port + "/models/tianAnSMC/doctor_building.gltf",
                    position: {
                        lon: 120.42899,
                        lat: 36.31460,
                        height: 0,
                    },
                    orientation: {
                        heading: 70,
                        pitch: 0,
                        roll: 0,
                    }
                },
                enabled: true
            },
            {
                id: '3',
                name: '西电青岛研究院阳光大厦',
                type: 'gltf',
                options: {
                    url: mapserver_port + '/models/building4.glb',
                    position: {
                        lon: 120.4393,
                        lat: 36.3162,
                        height: 0,
                    },
                    orientation: {
                        heading: 85,
                        pitch: 0,
                        roll: 0,
                    }
                }
            },
            {
                id: '4',
                name: '西电青岛研究院学生宿舍',
                type: 'gltf',
                options: {
                    url: mapserver_port + '/models/building4.glb',
                    position: {
                        lon: 120.4266,
                        lat: 36.3152,
                        height: 0,
                    },
                    orientation: {
                        heading: 80,
                        pitch: 0,
                        roll: 0
                    },
                }
            }
        ],
        //服务
        service: [
            //     {
            //   id:"",
            //   name:"",
            //   type:"",
            //   url:"",
            //   options:{} ,
            //   enabled:true 
            // }
        ]
    },
    {
        //id标识
        id: 2,
        //场景名字
        name: "湛江港",
        imageSrc: '/images/baidumap.jpg',
        //相机位置
        position: {
            lon: 110.40130,
            lat: 21.14561,
            height: 1000
        },
        //相机旋转
        orientation: {
            heading: 0,
            pitch: -90,
            roll: 0
        },
        //其他
        //动画
        // animation:{},
        //矢量文件
        vectorFiles: [{
            id: 0,
            name: "相机",
            type: "kml",
            url: '/kml/camera.kml',
            enabled: true
        }],
        //模型
        // models: [{
        //     id: "1",
        //     name: "湛江港",
        //     type: "3dtiles",
        //     options: {
        //         url:  "http://localhost:3000/port/part1/tileset.json",

        //     },
        //     enabled: true
        // }],
        //服务
        service: [
            //     {
            //   id:"",
            //   name:"",
            //   type:"",
            //   url:"",
            //   options:{} ,
            //   enabled:true 
            // }
        ]
    },
    {
        //id标识
        id: 3,
        //场景名字
        name: "西电路",
        imageSrc: mapserver_port + '/images/baidumap.jpg',
        //相机位置
        position: {
            lon: 120.43243,
            lat: 36.31430,
            height:30,
        },
        //相机旋转
        orientation: {
            heading: -100,
            pitch: -10,
            roll: 0
        },
        //其他
        //动画
        // animation:{},
        //矢量文件
        vectorFiles: [
            // {
            //     id: 0,
            //     name: "补丁",
            //     type: "kml",
            //     url: '/kml/patch.kml',
            //     enabled: true
            // }
        ],
        //模型
        models: [{
            id: "1",
            name: "西电路",
            type: "3dtiles",
            options: {
                // url: mapserver_port + "/models/xdr/tileset.json",
                url: 'http://localhost:3000/models/model4/tileset.json',
                height:-38.4
            },
            enabled: true
        }],
        //服务
        service: [
            //     {
            //   id:"",
            //   name:"",
            //   type:"",
            //   url:"",
            //   options:{} ,
            //   enabled:true 
            // }
        ]
    },
    {
        //id标识
        id: 32,
        //场景名字
        name: "阳光大厦",
        imageSrc: mapserver_port + '/images/baidumap.jpg',
        //相机位置
        position: {
            lon: 120.4380,
            lat: 36.3167,
            height: 4
        },
        //相机旋转
        orientation: {
            heading: -100,
            pitch: -10,
            roll: 0
        },
        //其他
        //动画
        // animation:{},
        //矢量文件
        vectorFiles: [

        ],
        //模型
        models: [{
            id: "1",
            name: "阳光大厦",
            type: "3dtiles",
            options: {
                // url: mapserver_port + "/models/xdr/tileset.json",
                url: 'http://localhost:3000/models/ygds-small/tileset.json',
                maximumScreenSpaceError: 1
            },
            enabled: true
        }],
        //服务
        service: [
            //     {
            //   id:"",
            //   name:"",
            //   type:"",
            //   url:"",
            //   options:{} ,
            //   enabled:true 
            // }
        ]
    },
    {
        //id标识
        id: 4,
        //场景名字
        name: "数字工厂",
        imageSrc: mapserver_port + '/images/baidumap.jpg',
        //相机位置
        position: {
            lon: 116.3913,
            lat: 39.9045,
            height: 1000
        },
        //相机旋转
        orientation: {
            heading: 0,
            pitch: -90,
            roll: 0
        },
        //其他
        //动画
        // animation:{},
        //矢量文件
        vectorFiles: [

        ],
        //模型
        models: [{
                id: "1",
                name: "外部简模",
                type: "3dtiles",
                options: {
                    url: "http:////lab.earthsdk.com/model/27af3f70003311eaae02359b3e5d0653/tileset.json",
                },
                enabled: true
            },
            {
                id: '2',
                name: "内部精模",
                type: '3dtiles',
                options: {
                    url: 'http://lab.earthsdk.com/model/212bc470003311eaae02359b3e5d0653/tileset.json'
                }
            },
            {
                id: '3',
                name: '内部简模',
                type: '3dtiles',
                options: {
                    url: 'http://lab.earthsdk.com/model/1b91bf10003311eaae02359b3e5d0653/tileset.json'
                }
            }
        ],
        //服务
        service: [
            //     {
            //   id:"",
            //   name:"",
            //   type:"",
            //   url:"",
            //   options:{} ,
            //   enabled:true 
            // }
        ]
    },
]
export default {
    SCENES
}